{% extends 'base_backend.html' %}
{% load static %}
{% load my_filter %}

{% block header_tail %}

    <link rel="stylesheet" href="{% static 'zhongbao/zhongbao_admin/css/style.css' %}">
    <link rel="stylesheet" href="{% static 'zhongbao/zhongbao_admin/css/iconfont.css' %}">
    <link rel="stylesheet" href="{% static 'plugins/datatables/dataTables.bootstrap.css' %}">
    <link rel="stylesheet" href="{% static 'public/ComboSelect/css/combo.select.css' %}">
    <link rel="stylesheet" href="{% static 'zhongbao/config/css/main.css' %}">
    <link rel="stylesheet" href="{% static 'layui/css/layui.css' %}">

    <script src="{% static 'plugins\jQuery\jquery-2.2.3.min.js' %}"></script>
    <script src="{% static 'plugins/vue1/vue.js' %}"></script>
    <script src="{% static 'layui/layui.js' %}"></script>

{% endblock header_tail %}

{% block section_content %}

    <script data-cfhash='f9e31' type="text/javascript">
              function jsCopy(){
                var e=document.getElementById("copy-num");//对象是copy-num1
                e.select(); //选择对象
                document.execCommand("Copy"); //执行浏览器复制命令
                alert("复制成功");
            }
              /* <![CDATA[ */
              !
              function() {
                try {
                  var t = "currentScript" in document ? document.currentScript: function() {
                    for (var t = document.getElementsByTagName("script"), e = t.length; e--;) if (t[e].getAttribute("data-cfhash")) return t[e]
                  } ();
                  if (t && t.previousSibling) {
                    var e, r, n, i, c = t.previousSibling,
                    a = c.getAttribute("data-cfemail");
                    if (a) {
                      for (e = "", r = parseInt(a.substr(0, 2), 16), n = 2; a.length - n; n += 2) i = parseInt(a.substr(n, 2), 16) ^ r,
                      e += String.fromCharCode(i);
                      e = document.createTextNode(e),
                      c.parentNode.replaceChild(e, c)
                    }
                    t.parentNode.removeChild(t);
                  }
                } catch(u) {}
              } ()
              /* ]]> */
        </script>
    <div class="row">
        <div class="col-md-12" style="padding-top: 20px;">
            <div class="input-group margin">
                <span class="input-group-btn">
                  <button type="button" onClick="jsCopy()" class="btn btn-info btn-flat">点击复制我的推荐连接</button>
                </span>
                <input type="text" class="form-control" value="" id="copy-num">
            </div>
        </div>
    </div>

    <script type="text/javascript">
        document.getElementById('copy-num').value="http://wego.istarshine.com/login?u={{ uname }}";
    </script>


    <div class="row">
        <div class="col-md-12" style="padding-top: 20px;">
            <div class="box box-primary">
                <!-- /.box-header -->
                <div class="box-body">
                    <blockquote style="padding: 10px 20px;">
                        <p>活动推荐介绍</p>
                    </blockquote>
                </div>
                <div class="box-body" style="padding-left: 40px;">
                    <dl>
                        <dt>如何进行推荐</dt>
                        <dd> 1.用户可通过复制上面注册链接进行宣传。</dd>
                        <dd> 2.每推荐成功注册一个新用户,会在"奖励任务"中记录。</dd>
                        <dt>推荐奖励</dt>
                        <dd> 1.每推荐成功注册一个新用户奖励加1,累计15个便可领取奖励。</dd>
                    </dl>
                </div>
                <!-- /.box-body -->
            </div>
        </div>
    </div>


{% endblock section_content %}